package com.yf.domain.dict;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;


/**
 * @author chentianwei
 * @date 2023/4/18 16:32
 * @description dict子表
 */

@Getter
@Setter
@TableName("sys_dict_detail")
public class DictDetail implements Serializable {

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @TableField(value = "dict_id")
    private Long dictId;

    @TableField(exist = false)
    private Dict dict;

    @TableField(value = "label")
    private String label;

    @TableField(value = "value")
    private String value;

    @TableField(value = "dict_sort")
    private Integer dictSort = 999;
}
